<%--
  Created by IntelliJ IDEA.
  User: WX1927910504
  Date: 2022/11/22
  Time: 13:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:catch var="e">
    <%
        int a = 10/0;
    %>
</c:catch>
<c:out value="${e}"></c:out><br/>
<c:out value="${e.message}"></c:out><br/>
<c:out value="${e.cause}"></c:out><br/>
<c:out value="${e.stackTrace}"></c:out><br/>
</body>
</html>
